/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mygame.Player;

import java.util.ArrayList;
import mygame.Object.GameObject;

/**
 *
 * @author Mr.N0I3oDy
 */
public class Player {

    private int health;
    private int hunger;
    private Inventory inventory;

    public Player() {
        this.health = 100;
        this.hunger = 0;
        this.inventory = new Inventory();
    }

    public void addRessource(GameObject o, int count) {
        this.inventory.addRessource(o, count);
    }

    public ArrayList<Ressource> getRessources() {
        return this.inventory.getRessources();
    }

    public Inventory getInventory() {
        return this.inventory;
    }
}
